//
//  YSCartProduct.h
//  Yueshi
//
//  Created by Northwan on 15/7/27.
//  Copyright (c) 2015年 悦食中国. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "YSProdPromotion.h"


@interface YSCartProduct : NSObject
@property (copy, nonatomic) NSString *prodImageUrl;
@property (copy, nonatomic) NSString *prodName;
@property (assign, nonatomic) CGFloat prodOldPrice;
@property (assign, nonatomic) CGFloat prodNewPrice;
@property (assign, nonatomic) NSInteger prodCount;
@property (copy, nonatomic) NSString *prodBuyLink;
@property (assign, nonatomic) NSInteger prodId;
@property (assign, nonatomic) NSInteger prodMainId;
@property (assign, nonatomic) NSInteger prodStatus; //商品状态   2 下架  3售磐
@property (assign, nonatomic) BOOL status;
@property (assign, nonatomic) BOOL isPresent;//是否赠品
@property (strong, nonatomic) YSProdPromotion *prodPromotion;

/**缓存数据*/
@property (strong, nonatomic) NSMutableArray *photosUrl;
@property (strong, nonatomic) NSMutableArray *photosImage;
@property (copy, nonatomic) NSString *comment;
@property (assign, nonatomic) NSInteger score;

-(BOOL)isAllImageUploadSucc;

@end
